package com.wlyuan.open.scanner.domain.transport;

import com.wlyuan.open.scanner.domain.BaseDomain;
import com.wlyuan.open.scanner.domain.order.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;


/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Transport extends BaseDomain {

    private Long id;

    @ApiModelProperty("运单信息")
    private TransportInfo info;

    @ApiModelProperty("发货人信息")
    private OrderFrom from;
    @ApiModelProperty("收货人信息")
    private OrderEnd to;
    @ApiModelProperty("运输要求")
    private OrderRequirement requirement;
    @ApiModelProperty("车辆信息")
    private OrderVehicle vehicle;
    @ApiModelProperty("费用")
    private TransportPrice cost;
    @ApiModelProperty("财务信息")
    private TransportFinance finance;
    @ApiModelProperty("订单物品信息")
    private List<OrderGoods> goodsList;

    @ApiModelProperty("关单信息")
    private TransportClose close;

    @ApiModelProperty("承运方信息")
    private TransportCarrier carrier;
    @ApiModelProperty("客户信息")
    private TransportCustomer customer;
}
